package com.wenhui.schoolyardinfo.square.fragment;


import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wenhui.schoolyardinfo.R;
import com.wenhui.schoolyardinfo.base.BaseFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * author    : mahongiyn
 * e-mail    : 1976222027@qq.com
 * date      :
 * introduce :
 */

public class FmFragment extends BaseFragment {
    public static final String TYPE = "type";
    @BindView(R.id.fm_recycler_view)
    RecyclerView fmRecyclerView;
    Unbinder unbinder;
    private View parentView;
    static FmFragment fragment;

    public FmFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        parentView = inflater.inflate(R.layout.fragment_fm, container, false);
        initViews();
        unbinder = ButterKnife.bind(this, parentView);
        return parentView;
    }

    public static FmFragment newInstance() {
        return new FmFragment();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initViews() {
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }
}
